import request from '@/utils/request'

// 文案列表
export const servetypeRecommend = (data) => request({ url: '/admin/copywritinglist', method: 'post', data })

// 添加文案
export const addcopywritingadd = (data) => request({ url: '/admin/copywritingadd', method: 'post', data })

// 修改文案  比添加多一个id
export const updatecopywritingupdate = (data) => request({ url: '/admin/copywritingupdate', method: 'post', data })

// 删除文案
export const delcopywritingdel = (data) => request({ url: '/admin/copywritingdel', method: 'post', data })

// 文案分类列表
export const gettypelist = (data) => request({ url: '/admin/typelist', method: 'post', data })

// 添加文案分类
export const addtypeadd = (data) => request({ url: '/admin/typeadd', method: 'post', data })

// 修改文案分类
export const updatetypeupdate = (data) => request({ url: '/admin/typeupdate', method: 'post', data })

// 删除文案分类
export const deltypedel = (data) => request({ url: '/admin/typedel', method: 'post', data })